package com.liusaidh.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author liusaidh
 * @date 2024/5/16 8:51
 * @description 我的文章，包括我的文章和我转发文章
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "我的文章和我转发的文章")
public class MyBlog {
    @ApiModelProperty(value = "文章的id", name = "id", dataType = "Integer")
    private Integer id;
    @ApiModelProperty(value = "文章作者的id", name = "uid", dataType = "Integer")
    private Integer uid;
    @ApiModelProperty(value = "文章的标签")
    private String label;
    @ApiModelProperty(value = "我的信息，包括头像，昵称，和地址", name = "myInfo")
    private UserCopy myInfo;
    @ApiModelProperty(value = "其他人的信息，包括头像，昵称，和地址", name = "otherInfo")
    private UserCopy otherInfo;
    @ApiModelProperty(value = "文章的发布时间", name = "MyTime", dataType = "String")
    private String time;
    @ApiModelProperty(value = "转发时记录的信息", name = "msg", dataType = "String")
    private String msg;
    @ApiModelProperty(value = "转发的时间", name = "otherTime", dataType = "String")
    private String transmitTime;
    @ApiModelProperty(value = "文章的内容", name = "text", dataType = "String")
    private String text;
    @ApiModelProperty(value = "文章的点赞量", name = "likes", dataType = "Integer")
    private Integer likes;
    @ApiModelProperty(value = "文章的转发量", name = "transmit", dataType = "Integer")
    private Integer transmit;
    @ApiModelProperty(value = "文章的评论数", name = "comment", dataType = "Integer")
    private Integer comment;
    @ApiModelProperty(value = "文章的状态，0：待审，1：通过", name = "state", dataType = "Integer")
    private Integer state;
    @ApiModelProperty(value = "文章的状态，0：我的文章，1：我转发的文章", name = "isMy", dataType = "Integer")
    private Integer isMy;
    @ApiModelProperty(value = "图片的地址，为一个数组，里面放的是图片的地址", name = "pictureUrl", dataType = "String[]")
    private String[] pictureUrl;
    @ApiModelProperty(value = "视频的地址，为一个数组，里面放的是视频的地址", name = "videoUrl", dataType = "String[]")
    private String[] videoUrl;
}
